package com.kkb.robotcustomerservice.service;

import com.kkb.robotcustomerservice.entities.GeneralAnswer;
import org.apache.ibatis.annotations.Param;

/**
 * @Author: lqk
 * @Description:
 * @Date Created in 2020-11-25 16:13
 * @Modified By:
 */
public interface GeneralAnswerService {

    /**
     * @Description 添加一个答案
       @param generalAnswer 答案实体类
     * @return
     * @Author lqk
     * @Date Created in 2020/11/25 16:47
     */
    public int addAnswer(GeneralAnswer generalAnswer);

    /**
     * @Description 根据答案id删除一个答案
       @param ansId 答案id
     * @return
     * @Author lqk
     * @Date Created in 2020/11/25 16:50
     */
    public int deleteAnswerById(int ansId);
    GeneralAnswer getByQid(Integer qid);
}
